package com.zzyl;

import com.zzyl.nursing.service.WechatService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class Tast {
    @Autowired
    private WechatService wechatService;
    @Test
    public void test() {
        String openid = wechatService.getOpenid("0a3P3d0w3T0gn5367a0w3n95Qr1P3d0g");
        System.out.println(openid);
    }
    @Test
    public void test2() {
        String phone = wechatService.getPhone("7902a9ab0b78888cdb736d28cedf46d743e14422c4767e9013d6c64aba903372");
        System.out.println(phone);
    }

}
